package com.hxzy.common.req;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 页面请求
 *
 * @author tonneyyy
 */
@Getter
@Setter
public class PageReq {

    @NotNull(message = "当前页不能这空")
    private Integer pageNumber;

    @NotNull(message = "每页大小不能空")
    private Integer pageSize;

}
